package com.xframe.xdal.core.model.es;

import com.xframe.xdal.core.model.ConditionValue;
import org.elasticsearch.index.query.QueryBuilder;

/**
 * 功能描述:ES QueryBuilder 构造接口
 *
 * @author xufeng
 * @version 1.0
 * @date 2023-04-23
 */
public interface IQueryBuilder {

    /**
     * 构造QueryBuilder
     * @param conditionValue 查询条件
     *
     * @return QueryBuilder对象
     */
    QueryBuilder builder(ConditionValue conditionValue);
}
